<?php
include_once 'config.php';
$page = array("groupli","groupli","groupli","groupli","groupli");
if( isset($curr_page))
{
	if($curr_page==0)
	{
		$page[$curr_page]="currli";
	}else
	{
		$page[$curr_page]="currli currli_";
	}
	
}else
{
	$page[0]="currli";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script src="js/jquery-1.7.1.js"></script>

<style>
.nav{
	width:960px;
	margin-top:20px;
}
.nav ul{
	margin:0px;padding:0px; 
	height:36px;
	list-style:none;
	overflow:hidden;
	background-image:url('images/6.png');
}

.nav .groupli {
	text-align:center;
	padding:0px;
	margin:0px;
	width:133px;
	height:36px;
	float:left;
	line-height:36px;
	font-weight:bold;
	font-size:13px;
	font-family: Arial,​Helvetica,​sans-serif;
}
.nav .currli{
	text-align:center;
	padding:0px;
	margin:0px;
	width:133px;
	height:36px;
	float:left;
	line-height:36px;
	font-weight:bold;
	background-image:url('images/7.png');
	font-size:13px;
    font-family: Arial,​Helvetica,​sans-serif;
}
.currli_{
	
}

.nav .cutli{
	float:left;
	height:36px;
	width:1px;
	line-height:36px;
}

.nav a{
	color:white;
	text-decoration:none;
    display:block;
}
img{
	border: none;
}
</style>
<script>
function InMoveTitle(v)
{
	  $("#"+v).show();
}
function OutMoveTitle(v)
{
	  $("#"+v).hide();
}
</script>
<body style="background-color:black">
</body>
<div style="width:960px; margin:0 auto;">
	<div id="topdiv" style="height:85px;margin-left:-21px;">
	            <div style="text-align: right;color:white;"><a style="font-size:12px; color:white; text-decoration: none;" href="../index.php">中文</a>&nbsp; | &nbsp;<a href="index.php" style="font-size:12px; color:white; text-decoration: none;">English</a>&nbsp; | &nbsp;<a href="bbs" style="font-size:12px; color:white; text-decoration: none;">Official Forum</a></div>
				<!-- logo --><div id="logodiv" style="width:221px;float:left;"><a href="index.php"><img src="images/top/logo.png" /></a></div>
				<!-- 分割线 --><div style="float:left;margin-left:5px;" ><img src="images/2.png"/></div>
				<div id="topaddiv" style="float:left;margin-left:5px;">
				  <?php 
				    $sql = "select * from en_ad where id = 21";
				    $ret = mysql_query($sql);
				    $rcd = mysql_fetch_array($ret);
				  ?>
				 <a href="<?php echo $rcd['link'];?>"><img src="<?php echo $rcd['pic_path']?>"/></a>
				</div>
	</div>
	<div class="nav" id="nav"  >
			  <ul >
			     <li class="<?php echo $page[0];?>"><a href="index.php" onmouseover="InMoveTitle('shouyediv')" onmouseout="OutMoveTitle('shouyediv')" >Home</a><div  id="shouyediv" style="margin:-8px;display:none;"><img src="images/jt.png" /></div></li>
			   	 <li class="cutli" ><div style="padding-top:6px;"><img src="images/10.png"/></div></li>
			   	 	
			   	 <li class="<?php echo $page[1];?>" ><a href='product.php' onmouseover="InMoveTitle('chanpindiv')" onmouseout="OutMoveTitle('chanpindiv')" href="#" >Products</a><div  id="chanpindiv" style="margin:-8px;display:none;"><img src="images/jt.png" /></div></li>
			   	 <li class="cutli" ><div style="padding-top:6px;"><img src="images/10.png"/></div></li>
			   	 	
			   	 <li class="<?php echo $page[2];?>"><a href='support.php' onmouseover="InMoveTitle('jishudiv')" onmouseout="OutMoveTitle('jishudiv')" href="#" >Service Support</a><div id="jishudiv" style="margin:-8px;display:none;"><img src="images/jt.png" /></div></li>
			   	 <li class="cutli" ><div style="padding-top:6px;"><img src="images/10.png"/></div></li>	
			   	 
			   	 <li class="<?php echo $page[3];?>" ><a href='download.php' onmouseover="InMoveTitle('xiazaidiv')" onmouseout="OutMoveTitle('xiazaidiv')" href="#" >Download</a><div id="xiazaidiv" style="margin:-8px;display:none;"><img src="images/jt.png" /></div></li>
			   	 <li class="cutli" ><div style="padding-top:6px;"><img src="images/10.png"/></div></li>	
			   	 
			   	 <li class="<?php echo $page[4];?>"><a href="lineme.php" onmouseover="InMoveTitle('lianxidiv')" onmouseout="OutMoveTitle('lianxidiv')" href="#" >Contact Us</a><div id="lianxidiv" style="margin:-8px;display:none;"><img src="images/jt.png" /></div></li>
			   	 
			   	 <!-- 搜索 -->
			   	 <li style="float:left;width:285px;margin-top:3px;">
			   	   <form name="topsearch" method="get" action="http://www.google.com.hk/search" target="_blank">
			   	         <input type="hidden" name="as_sitesearch" value="imilldigi.com" />
			   	 	     <div style="position:relative;float:left;width:248px;display:inline;z-index:10"><img src="images/11.png" /></div>
			   	 	     <div style="float:left;position:absolute;margin-left:-236px; margin-top:6px;display:inline;z-index:11"><img src="images/12.png"/></div>
			   	 	     <div style="float:left;position:absolute;margin-left:-220px;margin-top:6px;display:inline;z-index:11"><input name="q" type="text" style="border:0px;width:210px;" /></div>
			   	 	     
			   	 	<div style="float:left;position:absolute;display:inline;margin-left:-21px;margin-top:2px;z-index:9;cursor:pointer;"> <div style="position:relative;float:left;"><img src="images/13.png"  /></div><div style="margin-top:5px; float:left; position:absolute;display:inline;margin-left:-28px;"><font onclick="topsearch.submit();" style="color:white;font-weight:bold;size:+1;">GO</font></div></div>
			   	  </form>
			   	 </li>	
			   	 
			  </ul>
			  <!-- 导航下蓝色线条 --><div style="height:3px;background-image:url('images/9.png');overflow:hidden;"> </div>
			 
	</div>
</div>